home *** CD-ROM | disk | FTP | other *** search
Text File | 1988-08-10 | 913 b | 30 lines | [TEXT/MACA] |
- Settings File = GEnie-upl
- Script Name = Timeout Error
- Command Key =
- F-key =
- Menu = NO
- Button = NO
-
- 1 If Expression "=TimeOutRecover=true"
- 2 Set Variable TimeOutRecover from Expression "=false"
- 3 Set Variable NoOfTry from Expression "=0"
- 4 Dialog Discard
- 5 Dialog Install "Try to recover from timeout error gracefully and log off properly..."
- 6 Repeat
- 7 Send Text String "^M"
- 8 Do Script * "Break"
- 9 Send Text String "^M"
- 10 When Text Equals ">elp?"
- 11 Dialog Discard
- 12 Dialog Install "Successful recovery from timeout error...^MLog off..."
- 13 Do Script * "Log Off"
- 14 Or When Seconds Have Passed "=30"
- 15 End When
- 16 Set Variable NoOfTry from Expression "=NoOfTry+1"
- 17 Until Expression "=NoOfTry=5"
- 18 Do Script * "Log Off"
- 19 Else
- 20 Alert * OK "TimeOut Error...."
- 21 Abort Script
- 22 End If
-